package com.edu.psychological_test.mapper;

import com.edu.psychological_test.pojo.Role_Menu;
import com.edu.psychological_test.pojo.Role_MenuExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Role_MenuMapper {
    int countByExample(Role_MenuExample example);

    int deleteByExample(Role_MenuExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Role_Menu record);

    int insertSelective(Role_Menu record);

    List<Role_Menu> selectByExample(Role_MenuExample example);

    Role_Menu selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Role_Menu record, @Param("example") Role_MenuExample example);

    int updateByExample(@Param("record") Role_Menu record, @Param("example") Role_MenuExample example);

    int updateByPrimaryKeySelective(Role_Menu record);

    int updateByPrimaryKey(Role_Menu record);
}